package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题目管理对象 choice
 *

 * @date 2022-11-30
 */
public class Choice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 题库名 */
    @Excel(name = "题库名")
    private String listid;

    /** 问题 */
    @Excel(name = "问题")
    private String question;

    /** 分值 */
    @Excel(name = "分值")
    private Long score;

    /** A选项 */
    @Excel(name = "A选项")
    private String optiona;

    /** B选项 */
    @Excel(name = "B选项")
    private String optionb;

    /** C选项 */
    @Excel(name = "C选项")
    private String optionc;

    /** D选项 */
    @Excel(name = "D选项")
    private String optiond;

    /** 你的选择 */
    @Excel(name = "你的选择")
    private String tiankong;

    /** 答案 */
    @Excel(name = "答案")
    private String daan;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setListid(String listid)
    {
        this.listid = listid;
    }

    public String getListid()
    {
        return listid;
    }
    public void setQuestion(String question)
    {
        this.question = question;
    }

    public String getQuestion()
    {
        return question;
    }
    public void setScore(Long score)
    {
        this.score = score;
    }

    public Long getScore()
    {
        return score;
    }
    public void setOptiona(String optiona)
    {
        this.optiona = optiona;
    }

    public String getOptiona()
    {
        return optiona;
    }
    public void setOptionb(String optionb)
    {
        this.optionb = optionb;
    }

    public String getOptionb()
    {
        return optionb;
    }
    public void setOptionc(String optionc)
    {
        this.optionc = optionc;
    }

    public String getOptionc()
    {
        return optionc;
    }
    public void setOptiond(String optiond)
    {
        this.optiond = optiond;
    }

    public String getOptiond()
    {
        return optiond;
    }
    public void setTiankong(String tiankong)
    {
        this.tiankong = tiankong;
    }

    public String getTiankong()
    {
        return tiankong;
    }
    public void setDaan(String daan)
    {
        this.daan = daan;
    }

    public String getDaan()
    {
        return daan;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("listid", getListid())
            .append("question", getQuestion())
            .append("score", getScore())
            .append("optiona", getOptiona())
            .append("optionb", getOptionb())
            .append("optionc", getOptionc())
            .append("optiond", getOptiond())
            .append("tiankong", getTiankong())
            .append("daan", getDaan())
            .toString();
    }
}
